<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="ar.edu.itba.bundundu.Facebook"  %>
<%@ page import="com.google.code.facebookapi.FacebookParam"  %>


<% request.setAttribute("tab", 4); %>
<%@ include file="/header.jsp" %>



<%
	Long loggedInUser = (Long)request.getAttribute("loggedInUser");
	String uids = (String)request.getAttribute("uids");
	String addUrl = (String)request.getAttribute("addUrl");
%>


<%
	String content= "<fb:name uid='"
	+ loggedInUser
	+"' firstnameonly='true' shownetwork='false'/> wants to invite you to Bundundu! "
	+"<fb:req-choice url='"+ addUrl
	+"' label='Add Bundundu application to your profile!'/>";
%>



<fb:request-form action="<%=url%>" method="POST" invite="true" type="Bundundu App" content="<%= content %>">

<fb:multi-friend-selector max="20" actiontext="Here are your friends who haven't added Bundundu to their profile." showborder="true" rows="5" exclude_ids="<%= uids%>" />

</fb:request-form>